Release 10.1A: OpenEdge Development:
Programming Interfaces
RUN statement parameter data types
Note that while shared library parameter definitions use a special set of data types, the corresponding expressions, fields, and variables passed in the
RUNstatement have standard Progress data types. You must ensure that yourRUNstatement parameters have data types that are compatible with their corresponding shared library parameter definitions. Table 12–3 lists each shared library parameter data type and the Progress data type that is compatible with it in aRUNstatement.
Caution: For
CHARACTERparameters, Progress always passes the routine a pointer to the character or character string value rather than the value itself. If the routine modifies the value, it can also modify Progress memory outside the bounds of theCHARACTERvalue with unpredictable results. For this reason, Progress does not allow you to useOUTPUTorRETURNforCHARACTERor LONGCHAR parameters, as well asCHARACTERor LONGCHAR array parameters, and does not recommend you useINPUT-OUTPUTforCHARACTERor LONGCHAR parameters. Rather, pass the character string as aMEMPTRparameter. For more information, see the "Passing CHARACTER values to shared library routines" section. For more information on passing aMEMPTRparameter, see the "Using MEMPTR variables as parameters" section. Note: You cannot use any type of array for aRETURNparameter.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |